<template>
	<li>
		<img :src="myitem.imgSrc" alt="" />
		<div>
			<p>{{myitem.goodname}}</p>
			<p>￥{{myitem.price}}</p>
		</div>
	</li>
</template>

<script>
	export default{
		props:["myitem"]
	}
</script>

<style>
	li{
		display: flex;
		list-style: none;
		align-items: center;
		background: #f0f0f0;
	}
	li img{
		width: 30%;
		
	}
</style>